palette = [[80,80,80],[80,80,80]]
z = [[RGB[0],RGB[1],RGB[2]] for RGB in [color for color in palette]]
for y in z:
    y[0] -= 8
    if y[0] < 0: y[0] = 0
    y[1] -= 8
    if y[0] < 0: y[0] = 0
    y[2] -= 8
    if y[0] < 0: y[0] = 0
print palette
print z
